package cn.tedu.csmall.product.util;

import org.springframework.stereotype.Component;

@Component
public class IdUtils {

    public synchronized Long generateSpuId(){
        return System.currentTimeMillis()/1000;
    }
}
